<?php

namespace App\Models;

class AgentXiamenBankAccountCards extends XiamenBank
{
    public function agent()
    {
        return $this->belongsTo(Agent::class);
    }

    /**
     * 银行账号
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function bankAccount()
    {
        return $this->belongsTo(AgentXiamenBankAccount::class, 'axba_id');
    }
}
